package com.quanshu.shop.main.entity;

import java.io.Serializable;
import java.util.List;

import lombok.Data;

/**
 * 作者  李哲
 * 创建时间 2018/7/17
 * 邮箱 lizhetongliao@163.com
 * 说明
 **/
@Data
public class ShopMainEntity implements Serializable {
    private List<BannerEntity> banner;
    private List<ClassifyEntity> classify;
    private List<GoodsEntity> goods;
    private List<SpecialEntity> special;
    private List<HotsEntity> hots;
    private List<LikesEntity> likes;

    @Data
    public class BannerEntity {
        /**
         * id : 42
         * mob_headpic : /upload/special/20180717135000.jpg
         * mob_link : /cattle_exchange_show/package
         * goods_id : 257
         */

        private String id;
        private String mob_headpic;
        private String mob_link;
        private String goods_id;
    }

    @Data
    public class ClassifyEntity {
        /**
         * id : 57
         * name : 主营爆款
         * mob_cate_icon : /upload/category/mobile/20180706100247.jpg
         * sort : 0
         */

        private String id;
        private String name;
        private String mob_cate_icon;
        private String sort;
    }

    @Data
    public class GoodsEntity {
        /**
         * id : 3
         * name : 测试商品3
         * sell_price : 21212.00
         * img : upload/2018/07/10/20180710052950724.jpg
         */

        private String id;
        private String name;
        private String sell_price;
        private String img;
    }

    @Data
    public class SpecialEntity {
        /**
         * id : 12
         * special_name : 精选专题2
         * mob_headpic : /upload/special/20180716133404.jpg
         * mob_link :
         * goods_id : 21 22 23 31 30 24 25 26 27 28 29 32
         */

        private String id;
        private String special_name;
        private String mob_headpic;
        private String mob_link;
        private String goods_id;
    }

    @Data
    public class HotsEntity {
        /**
         * id : 44
         * special_name : 测试专题3
         * mob_headpic : /upload/special/20180717132939.jpg
         * mob_link : /cattle_exchange_show/package
         * goods_id : 2
         */

        private String id;
        private String special_name;
        private String mob_headpic;
        private String mob_link;
        private String goods_id;
    }

    @Data
    public class LikesEntity {
        /**
         * id : 3
         * name : 测试商品3
         * sell_price : 21212.00
         * img : upload/2018/07/10/20180710052950724.jpg
         */

        private String id;
        private String name;
        private String sell_price;
        private String img;
    }
}
